package com.ict.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.web.domain.ExpertInformationSheet;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExtractRuleVo {
    /** 规则表id */
    @ApiModelProperty(value = "规则表id")
    private String extractId;

    /** 评审id */
    @ApiModelProperty(value = "评审id，varchar：100")
    private String reviewId;

    /** 抽取类型{1:按条件抽取 2：随机抽取 3：指定专家} */
    @ApiModelProperty(value = "抽取类型{1:按条件抽取 2：随机抽取 3：指定专家}")
    private String extractType;

    /** 人数 */
    @ApiModelProperty(value = "人数，varchar：2")
    private String peopleNumber;

    /** 抽取规则描述 */
    @ApiModelProperty(value = "抽取规则描述，varchar：50")
    private String extractRuleDesc;

    /** 专家信息list */
    @ApiModelProperty(value = "专家信息list")
    private List<ExpertInformationSheet> extractInformationList;


    /** 创建时间 */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /** 修改时间 */
    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;
}
